package com.eb.buybuybuy.service;

import com.eb.buybuybuy.bean.User;

import javax.servlet.http.HttpSession;

public interface UserService {
    User info(Integer id) throws Exception;

    void login(String username, String password, HttpSession session) throws Exception;

    void register(String username, String password, HttpSession session) throws Exception;

    void logout(HttpSession session);
}
